Skip to content

Integrate StreamCallbacks.jl for streaming #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

svilupp
Copy link
Contributor

@svilupp svilupp commented Aug 10, 2025

Closes #65

This PR:

  • adds StreamCallbacks.jl dependency, replacing the existing streaming implementation
  • implements configure_callback! helper and extend create_chat to support custom providers and StreamCallbacks
  • Adds the explanation to docs, README and a dedicated example to showcase different streaming use cases

Other minor things:

  • replaced model to gpt-5-mini to be more current
  • re-formatted with the latest JuliaFormatter, CI was failing otherwise(that's why most files seem "changed")

Tests pass and examples execute as expected.

@svilupp
Copy link
Contributor Author

svilupp commented Aug 10, 2025

@roryl23 what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move streaming to StreamCallbacks.jl
2 participants